package com.piece.core.framework.constant;

public interface SecurityConstants {

    /**
     * 缓存client的key
     */
    String CACHE_CLIENT_KEY = "oauth_client_details:";

    /**
     * 授权码模式
     */
    String AUTHORIZATION_CODE = "authorization_code";

    /**
     * 密码模式
     */
    String USERNAME_CODE = "username_code";

    /**
     * 手机验证码模式
     */
    String MOBILE_CODE = "mobile_code";

    /**
     * openid模式
     */
    String OPEN_ID = "open_id";
}
